unit uRemark;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Buttons, StdCtrls, DBCtrls;

type
  TfrmRemark = class(TForm)
    btnPost: TSpeedButton;
    btnCancel: TSpeedButton;
    Memo1: TMemo;
    procedure btnPostClick(Sender: TObject);
    procedure btnCancelClick(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmRemark: TfrmRemark;

implementation

{$R *.dfm}

procedure TfrmRemark.btnPostClick(Sender: TObject);
begin
        ModalResult := mrOK;
end;

procedure TfrmRemark.btnCancelClick(Sender: TObject);
begin
        ModalResult := mrCancel;
        Close;
end;

end.
